﻿using System;
using DBUtil;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Test.MySql
{
    [TestClass]
    public class TestBase
    {
        protected DBAccess db = null;
        public TestBase()
        {
            DBUtil.DBFactory.AddDBSupport<DBUtil.Provider.MySql.MySqlDBFactory>();
            //mysql 5.7
            db = DBFactory.CreateDB("MySql", "Server=192.168.0.18;Database=test;Uid=root;Pwd=123456;Charset=utf8;Max Pool Size=20000;");
        }
    }
}
